home *** CD-ROM | disk | FTP | other *** search
- Path: news-feed.iguide.com!usenet
- From: jdow@BIX.com (Joanne Dow)
- Newsgroups: comp.sys.amiga.hardware
- Subject: Re: Max Transfer Rates.
- Date: 27 Feb 1996 09:31:37 GMT
- Organization: News Corporation
- Message-ID: <4guj1p$4p5@klein.iguide.com>
- References: <893.6626T909T474@merlin.net.au> <9602251357.AA001lb@harden.demon.co.uk> <4gsqrf$cl4@tricia.msn.fullfeed.com> <9602262151.AA001lv@harden.demon.co.uk>
- Reply-To: jdow@BIX.com (Joanne Dow)
- NNTP-Posting-Host: bix.com
- X-Newsreader: NetBix 1.250
- X-Newsreader-Author: lwilton@BIX.com (Loren Wilton)
- This message has been posted with development version software.
- If there are any problems with the message format, send me mail.
-
- In article <9602262151.AA001lv@harden.demon.co.uk>,
- Mark Harden <mark@harden.demon.co.uk> wrote:
- >Dan Robotka (dgr@fdl.fdldotnet.com) wrote:
- >: Mark,
- >:
- >: How do I determine the max transfer rate? Would this affect the problem I am
- >: seeing?
- >:
- >: I recently posted a message (Hardrive Problem?). New harddrive, new problems!
- >: I found my problem to occur during copying files. My drive has a 128k buffer.
- >: The file seems to copy okay, but the contents are not the same. It seems to happen
- >: when there is a read and then a write from the hard drive. Floppy copies to the
- >: hard disk are okay.
- >
- >The MaxTransfer value should be the size that the drive can take in one gulp. This
- >is typically the size of the buffer. In your case 0x1FE00 should work...
-
- It has nothing to do with internal buffer sizes. PCs cannot perform transfers to
- more than 64k at a time. With a 16 bit transfer this means a 15 bit transfer
- counter is sufficient for any given request. Since most of the CPUs on the disk
- drives are 8 or 16 bit creations a 16 bit counter is a natural. This gives the
- 131072 byte hiccough. Hence a maxtransfer of 130560 is the largest you can
- manage and not overrun that 16 bit counter. This is true regardless of whether
- you have a drive with a 1meg buffer size or even a 64k buffer size unless the
- drive's design is severely shoddy. (And yes - such pieces of junk exist out
- there for the unwary to purchase.)
-
- >Note that the MaxTransfer value should be divisable by the sector size due to a
- >bug in the WorkBench format command.
- >
- >The symtoms you describe are clasic. Large file from floppy fine - HD not !
- >
- >HDToolBox picks a VERY BAD default value. So bad that with IDE drives it
- >will fail !
-
- It is a fine default for SCSI and *some* better IDE drives. Alas most commodity
- (cheap) IDE drives suffer this defect. DARN few SCSI drives suffer from it.
-
- >I hope this helps you. If you need more please e-mail me.
- >
- >: Thanks in advance,
- >:
- >: Dan Robotka
- >: dgr@fdl.fdldotnet.com
-
- One other thing, Dan. Anyone changing maxtransfer to a smaller value from a
- larger one should subsequently reload *EVERYTHING* of any size greater than the
- mactransfer value used. Otherwise files written with a defect will still read
- incorrectly.
-
- {^_^} Joanne Dow, Amiga Exchange Editor on BIX, aka The Wizardess
- jdow@bix.com, jdow@delphi.com
-
-